package edu.ccut.saturn.component.impl;

import java.net.URL;
import java.util.ArrayList;
import java.util.List;

import edu.ccut.saturn.component.IBundleSCAInfo;
import edu.ccut.saturn.component.ILogger;
import edu.ccut.saturn.component.SaturnLoggerManager;

public class SaturnBundleSCAInfo implements IBundleSCAInfo {

	private static final String LOGGER_KEY_LOAD_BUNDLE = SaturnLoggerManager.LOGGER_KEY_LOAD_BUNDLE;

	protected static ILogger logger = SaturnLoggerManager.getInstance()
			.getSaturnLogger(LOGGER_KEY_LOAD_BUNDLE);

	private String bundlesSymbolicName;

	private List<URL> files;

	public SaturnBundleSCAInfo(String bundlesSymbolicName) {
		this.bundlesSymbolicName = bundlesSymbolicName;
		this.files = new ArrayList<URL>();
	}

	public String getBundleSymbolicName() {
		return this.bundlesSymbolicName;
	}

	public void addSCACompositeFilePath(URL filePath) {
		this.files.add(filePath);
	}

	public List<URL> getSCACompositeFiles() {
		return this.files;
	}
}